<template>
	<view>
		<view class="tp-pd30">
			<jyf-parser :html="content || ''" ref="article"></jyf-parser>
		</view>
	</view>
</template>

<script>
	import jyfParser from "@/components/jyf-parser/jyf-parser.vue";
	export default {
		components:{
			jyfParser
		},
		data() {
			return {
				content: '', // 内容
			};
		},
		onLoad(opt) {
			this.content = JSON.parse(decodeURIComponent(opt.content))
			 uni.setNavigationBarTitle({
				title: opt.name && opt.name
			}) 
		}
	}
</script>

<style lang="scss">

</style>
